package com.pipi.sso.core.model;

import com.pipi.sso.core.util.DateUtil;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.model
 * @date: 2019/3/30 12:03 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
@Data
public class StudentBO extends BaseQuery {

    /**
     * 学生id
     * dorm_student.student_id
     */
    private Long studentId;

    /**
     * <p> 批量删除使用 </p>
     */
    private List<Long> studentIds;

    /**
     * 学号
     * dorm_student.student_no
     */
    private String studentNo;

    /**
     * 学生姓名
     * dorm_student.student_name
     */
    private String studentName;

    /**
     * 性别(0:女 1:男)
     * dorm_student.gender
     */
    private Integer gender;
    /**
     * 性别(0:女 1:男)
     * dorm_student.gender
     */
    private String genderDesc;

    /**
     * 出生日期
     * dorm_student.date_of_birth
     */
    @DateTimeFormat(pattern = DateUtil.PATTERN_1)
    private Date dateOfBirth;
    /**
     * 出生日期
     * dorm_student.date_of_birth
     */
    private String dateOfBirthDesc;
    /**
     * 入学时间
     * dorm_student.study_time
     */
    private Date studyTime;
    /**
     * 入学时间
     * dorm_student.study_time
     */
    private String studyTimeDesc;
    /**
     * 班级id
     * dorm_student.class_id
     */
    private Long classId;

    /**
     * 专业
     * dorm_student.profession
     */
    private String profession;

    /**
     * 专业
     * dorm_student.classesName
     */
    private String classesName;
    /**
     * 学院名id
     */
    private Long collegeId;
    /**
     * 学院名
     */
    private String collegeName;
    /**
     * <p> 年级 </p>
     */
    private String grade;

    /**
     * <p> 宿舍 </p>
     */
    private String dormitory;

    private String studentNoAndName;
}
